package com.cowcode.entity;

/**
 * User: ljy
 * Date: 2021/7/4
 * Time: 17:48
 */
public class Collect {
    private int cid;
    private User uid;
    private Question qid;

    public Collect() {
    }

    @Override
    public String toString() {
        return "Collect{" +
                "cid=" + cid +
                ", uid=" + uid +
                ", qid=" + qid +
                '}';
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public User getUid() {
        return uid;
    }

    public void setUid(User uid) {
        this.uid = uid;
    }

    public Question getQid() {
        return qid;
    }

    public void setQid(Question qid) {
        this.qid = qid;
    }

    public Collect(int cid, User uid, Question qid) {
        this.cid = cid;
        this.uid = uid;
        this.qid = qid;
    }
}
